import java.util.Date;
import java.util.Calendar;

public class test1212 {
    public static void main(String[] args){
        Date d=new Date();


        System.out.println(d.getTime());
        System.out.println(d.getClass());
        System.out.println(d.getDay());
        System.out.println(d.getHours());
        System.out.println(d.getMinutes());
        System.out.println(d.getMonth()+1);
        System.out.println(d.getSeconds());
        System.out.println(d.getYear());
        System.out.println(d.toGMTString());
        System.out.println(d.toString());

    }
}
